# Site/author information
title: "Search & Deploy"
description: > # this means to ignore newlines until non-indented
  Software development notes, and cheat sheets.
repo: "https://notabug.org/rem/search-and-deploy"
author:
  name:        René Maya
  website:    "https://rem-now.neocities.org/"

# Site settings
baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://search-and-deploy.gitlab.io" # base hostname & protocol for your site
encoding: "utf-8"
permalink:   /:categories/:title/ # https://github.com/mojombo/jekyll/wiki/Permalinks
collections:
  cheat-sheets:
    output: true
    permalink: /:collection/:title/
plugins:
  - jekyll-paginate-v2
pagination:
  enabled: true
  title: ':title'
  sort_field: 'date'
  sort_reverse: true
  per_page: 7
autopages:
  enabled: true
  tags:
    layouts:
      - 'autopage_tags.html'
    title: ':tag'
    permalink: '/posts/:tag/'
  collections:
    enabled: false
  categories:
    enabled: false

page_gen-dirs: true
page_gen:
  - data: less_code
    template: video
    name: slug
    dir: "playlists/less-code"
  - data: ruby_programming
    template: video
    name: slug
    dir: "playlists/ruby-programming"
  - data: test_codebase
    template: video
    name: slug
    dir: "playlists/test-codebase"
  - data: thoughtful_coding
    template: video
    name: slug
    dir: "playlists/thoughtful-coding"

# Nav bar (add `external: true` for 3rd party links)
links:
  - title: About
    url: /about
  - title: Bits
    url: /bits
  - title: Cheat Sheets
    url: /cheat-sheets
  - title: Posts
    url: /posts
  - title: Playlists
    url: /playlists

# Markdown front matter defaults
defaults:
  -
    scope:
      path: ""
      type: posts
    values:
      layout: post
  -
    scope:
      path: ""
      type: cheat-sheets
    values:
      layout: cheat-sheet

# Build settings
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone:    Europe/Amsterdam
future:      true
markdown:    kramdown
highlighter: rouge

kramdown:
  auto_ids: true
  footnote_nr: 1
  entity_output: as_char
  toc_levels: 1..6
  smart_quotes:   lsquo,rsquo,ldquo,rdquo
  # input:          GFM
  # hard_wrap:      false

sass:
  style: :compressed
  sass_dir: _scss


include:
  - .htaccess
exclude:
  - lib
  - config.rb
  - Capfile
  - config
  - log
  - Gemfile
  - scratch.org
  - todo.org
  - Rakefile
  - README
  - tmp
  - vendor
